Q panel Class
This tool generates a panel with a
Constructor
Q panel
-
array
Parameters:
-
array
Object$options An associative array of parameters, containing: "uri" => the uri or url the form should post to "method" => the method used to submit form "title" => the title of the panel "complete" => boolean, indicating whether the data on the server is in a complete state "editing" => boolean, indicating whether to show the form in the "editing" state "form" => string containing the contents of the form portion of the panel which is normally generated by a "Q/form" tool "static" => string containing the contents of the "static" portion "collapsed" => defaults to false. Whether the panel is shown as collapsed into just the header "toggle" => defaults to false. The events that cause toggling of collapsed state. If the string is 'click' then toggles the panel on clicks. If the string is 'move' then toggles the panel on mouseenter/mouseleave. "edit_button" => optional, to override the edit button "save_button" => optional, to override the save button "cancel_button" => optional, to override the cancel button "panel_classes" => optional, additional classes for the panel "snf" => optional. The name of the nonce field in the session "onSuccess" => optional. The URI to redirect to on success "onErrors" => optional. The URI to display if errors occur "inProcess" => optional. Causes the panel to appear as if it's a step in a process.